package com.zl.redisscheduler.core;

import java.util.Collection;

/**
 *
 *
 * @date 2021/4/7 17:32
 * @author Lizhong
 */
public interface TaskManager {
    ScheduleMetadata putTask(String taskId, ScheduleMetadata scheduleMetadata);
    ScheduleMetadata getTask(String taskId);
    Collection<ScheduleMetadata> getAllTask();
}
